package Third;

public class dongwu_demo {
    public static void main(String[] args) {
        dongwu dongwu = new mao();
        dongwu.eat();
        dongwu.cry();
        System.out.println("----------------");
        dongwu = new gou();
        dongwu.cry();
        dongwu.eat();
    }
}